CollapseWindow
NEW WITH THE APPEARANCE MANAGER
Collapses or expands a window to its title bar .
pascal OSStatus CollapseWindow ( WindowPtr inWindow, Boolean inCollapseIt);
inWindow
- On input, a pointer to the window that you want to collapse.
inCollapseIt
- A Boolean value indicating whether the window should be collapsed or expanded.
- function result
- A result code; see "Result Codes".
DISCUSSION
TheCollapseWindow
function tells the Window Manager to collapse or expand a window depending upon the value passed in theinCollapseIt
parameter. Only window definition functions that return the feature bitkWindowCanCollapse
in response to akWindowGetFeatures
message support this function; seeGetWindowFeatures
.SEE ALSO
FindWindow
."Appearance Manager Gestalt Selector Constants".